package com.cartoonrabbit.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiuTeng
 * @since 2023-01-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_early_record")
@ApiModel(value="EarlyRecord对象", description="")
public class EarlyRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "打卡记录id")
    @TableId(value = "record_id", type = IdType.AUTO)
    private Integer recordId;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "活动id")
    @TableField("action_id")
    private Integer actionId;

    @ApiModelProperty(value = "打卡状态，0未打卡，1已打卡")
    @TableField("colock_status")
    private Integer colockStatus;

    @ApiModelProperty(value = "打卡投入")
    @TableField("colock_input")
    private Long colockInput;

    @ApiModelProperty(value = "打卡收入")
    @TableField("colock_income")
    private Long colockIncome;

    @ApiModelProperty(value = "打卡时间")
    @TableField("colcok_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime colcokTime;

    @ApiModelProperty(value = "报名时间")
    @TableField("create_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createTime;


}
